package com.augurit.common.system.web.org.form;

import com.augurit.common.system.util.PrivilegeUtils;


public class OmUserPrivForm {
	
	//列字段属性
	private String id;			//节点ID
	private String name;		//功能/角色名
	private String menuNames;	//功能所对应的菜单id
	private String appName;		//功能所属应用
	private String moduleName;	//功能所属模块
	private String desc;		//功能描述
	
	//列显示属性
	private String uiProvider = PrivilegeUtils.UI_PROVIDER;	//列属性
	private String iconCls;									//图标
	private boolean leaf;									//true就是叶子节点，不写该属性就是false
	
	//隐含属性
	private String type;	//节点类型，分为"CONSTANT","ROLE","FUNC"
	private Long roleId;	//角色ID
	private Long funcId;	//功能ID


	public String getName() {
		return name;
	}

	public String getModuleName() {
		return moduleName;
	}


	public String getIconCls() {
		return iconCls;
	}

	public boolean isLeaf() {
		return leaf;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setModuleName(String moduleName) {
		this.moduleName = moduleName;
	}


	public String getAppName() {
		return appName;
	}


	public void setAppName(String appName) {
		this.appName = appName;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}

	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUiProvider() {
		return uiProvider;
	}

	public void setUiProvider(String uiProvider) {
		this.uiProvider = uiProvider;
	}

	public String getMenuNames() {
		return menuNames;
	}

	public void setMenuNames(String menuNames) {
		this.menuNames = menuNames;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public Long getFuncId() {
		return funcId;
	}

	public void setFuncId(Long funcId) {
		this.funcId = funcId;
	}
}